package cn.itcast.bos.service;

import cn.itcast.bos.domain.take_delivery.WayBill;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by Think on 2017/9/27.
 */
public interface WayBillService {


    void save(WayBill wayBill);

    Page<WayBill> findAll(Pageable pageable);

    WayBill findByWayBillNum(String wayBillNum);

    //数据库同步索引库操作
    public void syncIndex();

    Page<WayBill> findAll(WayBill wayBill, Pageable pageable);

    List<WayBill> findWayBills(WayBill wayBill);

    List<Object[]> findByHighCharts();

}
